public class Teacher {
    private String id;
    private String name;
    private String gender;
    private Course course;

    public Teacher(String id, String name, String gender, Course course) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.course = course;
    }

    public String getId() { return id; }
    public String getName() { return name; }
    public Course getCourse() { return course; }
    public void setCourse(Course course) { this.course = course; }
}
